package com.mycompany.myapp.service.mapper;

import com.mycompany.myapp.domain.*;
import com.mycompany.myapp.service.dto.UReportFileDTO;
import org.mapstruct.*;

/**
 * Mapper for the entity {@link UReportFile} and its DTO {@link UReportFileDTO}.
 */
@Mapper(componentModel = "spring", uses = { CommonTableMapper.class })
public interface UReportFileMapper extends EntityMapper<UReportFileDTO, UReportFile> {
    @Mapping(target = "commonTable", source = "commonTable", qualifiedByName = "name")
    UReportFileDTO toDto(UReportFile uReportFile);

    @Mapping(target = "commonTableId", source = "commonTable.id")
    UReportFile toEntity(UReportFileDTO uReportFileDTO);
    // jhipster-pro-please-regenerate-this-file 如果您修改了此文件，并且不希望重新生成代码时被覆盖，请删除本行！！！
}
